package cn.com.xyc.action;

import java.util.List;

import cn.com.xyc.dao.ProjectDao;
import cn.com.xyc.pojo.Project;

public class ProjectListAction extends BaseAction {
	private ProjectDao projectDao = new ProjectDao();
	private List<Project> projectList;

	@Override
	public String execute() throws Exception {
		projectList = projectDao.findAll();
		return SUCCESS;
	}

	public List<Project> getProjectList() {
		return projectList;
	}

}
